package com.wlyuan.open.domain.repository;

import com.wlyuan.core.domain.repository.BaseRepository;
import com.wlyuan.open.domain.PushTask;
import com.wlyuan.open.domain.PushTaskId;

import java.util.List;

public interface PushTaskRepository extends BaseRepository<PushTask, PushTaskId> {

    List<PushTaskId> save(List<PushTask> tasks);

    List<PushTask> listNeedPush(Long page,Long size);

    List<PushTask> listByIds(List<Long> taskIds);
}
